arm: socfpga: nic301: Add NIC-301 configuration code
authorPavel Machek <[email protected]>
Mon, 8 Sep 2014 12:08:45 +0000 (14:08 +0200)
committerMarek Vasut <[email protected]>
Mon, 6 Oct 2014 15:46:51 +0000 (17:46 +0200)
commit13e81d45f80b58e57a78daf6850d4f3a6bc20d9e
tree91f23ccc1d1afe12a6f872a76dfb428c827cb00a
parent60d804c2f3ddd0071348c6e65999e19b4d07d16a
arm: socfpga: nic301: Add NIC-301 configuration code

Add code which configures the AMBA NIC-301 and the SCU on the SoCFPGA .
The code sets the access permissions for the CPU to the AMBA slaves such
that the CPU can access them in both secure and non-secure mode.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Pavel Machek <[email protected]>
arch/arm/cpu/armv7/socfpga/misc.c